import { useGet } from "utils/request";

const contentPath = '/system/weixin'

export const obtainPhoneNumber = (code) => {
  return useGet(`${contentPath}/phone-number`, {
    params: {
      code
    }
  })
}
